package com.cpx.dto;

import com.cpx.po.Permission;
import com.cpx.po.Role;

import java.util.List;

/**
 * @Auther: PanBin
 * @Date: 2018-9-10 10:14
 * @Description: shiro的授权对象
 * @Version: 1.0
 */
public class ShiroAuthoDto {

    /**
     * 资源对象(链接)
     */
    List<Permission> permissionList;

    /**
     * 角色列表
     */
    List<Role> roleList;

    public List<Permission> getPermissionList() {
        return permissionList;
    }

    public void setPermissionList(List<Permission> permissionList) {
        this.permissionList = permissionList;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }
}
